package ru.magicreader.client.model;

import com.google.gwt.core.client.JavaScriptObject;

public class Settings extends JavaScriptObject {
	
	protected Settings() {}
	
	public final static native Settings fromJsonString(String json) /*-{
		return eval('(' + json + ')');
	}-*/;
	
	public final native int getNEntriesToShow() /*-{ return this.nEntriesToShow; }-*/;
	
	public final native void setNEntriesToShow(int n) /*-{ this.nEntriesToShow = n; }-*/;

}
